Specifying Make attributes

You can set a project's Build attributes under the Build Options node of the Project Attributes dialog. The default values used in this dialog are specified in your Preferences. See also Build System.
Basically, you need to do the following things to use your own makefiles in SNiFF+:

- Tell SNiFF+ what your Make command is
- Tell SNiFF+ the names of your targets

To use your own makefiles:

Start SNiFF+ and open the project for which you want to set up Make Support.
Check out the Project Description Files (PDFs) of all the projects for which you will be building targets.
In the Project Tree, checkmark all the projects for which you will be building targets.
Choose Project > Attributes of Checkmarked Projects....
The Group Project Attributes dialog appears.
Select the Build Options node.

Project Attributes -- Build Options
You will now set the Make attributes that are the same for all projects.

Enter your Make command in the Make Command field. Use the

-f option to specify your makefile's name. For example:
make -f yourMakefile
This Make command will then be submitted to the Shell when you build targets in SNiFF+.
Select the check box to the right of the Make Command field.
This attribute will now also apply to all projects checkmarked in the Project Tree.
Press the Set All button to apply to all the projects checkmarked in the Project Tree.
Press the Ok button to apply the settings and to close the Group Project Attributes dialog.
Notice that the Project Tree indicates that all checkmarked projects are modified. We recommend that you save all modified projects at this time.
Project-specific attributes in the Project Attributes dialog
You will now set those Make attributes which are specific to each project for which you will be building targets. Please complete the following steps for each project:

In the Project Tree, double-click on the project for which you will be setting project-specific Make attributes.
The Project Attributes dialog appears.
Select the Project Targets node.

3. Enter the name of the project's default target (described below).
   - If the target is an executable, enter its name in the Executable field.
   - If the target is an relinkable object, enter its name in the Relinkable Object field.
   - If the target is a library object, enter its name in the Library field.
4. If you want to build additional targets, enter their names in the Other field. Use a colon (

: ) to separate target names.
Press the Ok button to apply the Make attributes to the project.
Save the modified project.
Specifying the targets of a project
The following types of targets may be specified in a project:

- executable
- relinkable object
- library

Each project has only one default target. SNiFF+ uses this target name as the default target for the Make... command in the Target menu. If only one of the targets mentioned above is specified in a project, this target is the default target of the project. If several targets are specified in a project, the first target in the order--executable, relinkable object, library--is the default target of the project. When no target is specified, object files are built.